<?php
/** 
 * Created by RisingSun. 
 * User: MarkSpace 
 * Date: 20220306
 * Time: 11:05 
 */
return [
    'debug' => true,
    'error_reporting' => E_ALL,
    'default_timezone' => 'Asia/Shanghai',
    'public_path' => base_path(). DIRECTORY_SEPARATOR . 'public',
    'runtime_path' => base_path(). DIRECTORY_SEPARATOR . 'runtime',
    'controller_suffix' => 'Controller',
    'application' => 'app',  // application为空，自动匹配app模块，否则根据系统自动匹配
    'controller_reuse' => false,
    //默认页面
    'default'=>[
        'defaultAppName'=>"home",
        'defaultController'=>'web',
        'defaultAction'=>'index',
    ],
    'logincode'=>'',
    'systemver'=>[
        'version' => '1.0.0',//显示版本
        'ver' => 'Rising sun 版权所有',//显示版权人
        'charset' => 'utf-8', //编码
        'vernumber' =>'7.0.0.2',// 版本号
        'sysid' =>'MSVR2023',// 系统ID 4位 大写
    ],
    'cross'=>[
        'crossdomain'=>true,
        'crossinfo'=>[
            'Access-Control-Allow-Origin: *',
            'Access-Control-Allow-Credentials: true',
            'Access-Control-Allow-Headers: *',
            'Access-Control-Allow-Methods: *',
        ]
    ]
];
